-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[vulkan] Fix some vulkan stuff #3198
Conversation
✔️ Deploy Preview for jovial-fermat-aa59dc canceled. 🔨 Explore the source changes: ce959e9 🔍 Inspect the deploy log: https://app.netlify.com/sites/jovial-fermat-aa59dc/deploys/6168cf017d1a000007301ccd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but I'm a bit confused on the test reduction situation. I have spotted some type errors on the uint side but my fix can't seem to fix the problem @k-ye observed. He said the tests fail on u32 types. (I can't repro any one of the case so I'm chasing it blind)
Huh, Interesting. I observed failures for f32 only. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! My bad : (
@@ -43,6 +43,8 @@ class StructCompiler { | |||
cell_stride * sn_desc.cells_per_container_pot(); | |||
} | |||
|
|||
sn->cell_size_bytes = sn_desc.cell_stride; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does VK backend actually use this? That said, we should make this part backend-neutral.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm using cell size bytes for computing SNode Device ptr in ggui.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!!
related issue = #3178
This PR fixes 3 things: